package com.v2.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.v2.domain.Banner;
import com.v2.mapper.BannerMapper;
import com.v2.service.BannerService;

import java.util.List;

@Service
public class BannerServiceImpl implements BannerService {
    @Autowired
    private BannerMapper bannerMapper;

    public List<Banner> BannerList(){
        List<Banner> banners = bannerMapper.selectBanner();
        return banners;
    }
}
